Use a dialog to display the LargePortraitCard.#169
Merged
HaudinFlorence merged 11 commits intoQuantStack:masterfrom Jul 4, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
4a056b3 to
c56cda8
Compare
c56cda8 to
4f3d386
Compare
c269866 to
5b58c1b
Compare
dfb33bd to
207e124
Compare
207e124 to
76faa10
Compare
26f909e to
74ae9c6
Compare
1bcc8b2 to
3756b2d
Compare
c893c09 to
ea5a66f
Compare
ea5a66f to
8b48f2d
Compare
8b48f2d to
0b65a23
Compare
d0a34c0 to
b74d3a8
Compare
b74d3a8 to
50aab1e
Compare
afshin
reviewed
Jul 4, 2025
afshin
reviewed
Jul 4, 2025
afshin
reviewed
Jul 4, 2025
| render={({ history, match }) => { | ||
| const { completeName } = match.params; /* extract the dynamic part from the url i.e. the completeName*/ | ||
| const teamMembers = getTeamByPersonName(completeName); | ||
| const person = teamMembers.find((person) => person.completeName.replace(/\s+/g, '').normalize("NFD").replace(/[\u0300-\u036f]/g, '') === completeName); |
Member
There was a problem hiding this comment.
Because you're doing this name string clean up step twice (with the replace(...) etc.), I would suggest either storing the cleaned up version as part of the person's JSON blob or writing a small utility function so that you're not duplicating this logic. (not a blocker for merging)
afshin
reviewed
Jul 4, 2025
Member
There was a problem hiding this comment.
What is this file? It seems like something that was not supposed to be in the PR?
Member
Author
There was a problem hiding this comment.
To be fair, I don't know.
Member
Author
|
@afshin Thanks for the review. I will take your comment into account |
… the dialog by clicking the overlay.
…es for the collaborators.
…act that the individual popup were not rendered on /about/person page when entering the corresponding url.
…ters. Add logics to not scroll systematically to the top of the page when changing from about page to portrait ones and reciprocally.
Co-authored-by: Afshin Taylor Darian <git@darian.link>
8cca664 to
c1a4bf9
Compare
c1a4bf9 to
68cfaba
Compare
68cfaba to
fcf6cf7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use a dialog to display the LargePortraitCard.
Should fix #129